#ifndef PUSHBUTTTON_H
#define PUSHBUTTTON_H

#include <QMainWindow>
#include<QPushButton>

class PushButtton : public QMainWindow
{
    Q_OBJECT

public:
    PushButtton(QWidget *parent = nullptr);
    ~PushButtton();

    //定义两个QPushButton对象
    QPushButton* btn1;
    QPushButton* btn2;

private slots:

    //声明两个QPushButton对象的槽函数
    void btn1_clicked();
    void btn2_clicked();


};
#endif // PUSHBUTTTON_H
